3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A nonuniform rational B-spline (NURB) curve is a three-dimensional projection of a four-dimensional curve, with an optional set of attributes. A NURB curve is defined by the TQ3NURBCurveData data type. See "Creating and Editing NURB Curves" for a description of the routines you can use to create and edit NURB curves. Figure 29 shows a NURB curve.
typedef struct TQ3NURBCurveData {
unsigned long order;
unsigned long numPoints;
TQ3RationalPoint4D *controlPoints;
float *knots;
TQ3AttributeSet curveAttributeSet;
} TQ3NURBCurveData;
Previous | QD3D Book | Overview | Chapter Contents | Next |